<template>
  <view class="flex-col">
    <view class="">
        <view class="" style="text-align: center;" v-if="list1.length==0">
            <image src="../../static/dingdan.png" mode="scaleToFill" style="margin-top: 100rpx;width: 150rpx;height: 180rpx;"></image>
            <view class="" style="color: #999;font-size: 28rpx;margin-top: 20rpx;">
                暂无订单
            </view>
        </view>
      <view class="flex-col section_1"  v-for="(item, index) in list1">
        <view class="flex-row group_2">
          <image
            src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62ac1d455a7e3f03100b6468/62b188edd029820011534ee0/16558036369275142627.png"
            class="image_3 image_4"
          />
        </view>
        <view class="justify-between group_3">
          <view class="flex-col items-end group_4">
            <image
              src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62ac1d455a7e3f03100b6468/62b188edd029820011534ee0/16558036369266231275.png"
              class="image_5"
            />
            <view class="group_5" >
              <text class="text_1 text_3">余额提现到微信钱包</text>
              <text class="text_1 text_5">{{ item.createTime }}</text>
            </view>
          </view>
          <view class="flex-row group_6">
            <text class="text_7">￥</text>
            <text class="text_8">{{ item.extractPrice }}</text>
          </view>
        </view>
      </view>

    </view>
  </view>
</template>

<script>
import {getWithdrawalDetail} from '../../api/index.js'
  export default {
    components: {},
    data() {
      return {
        pageInfo: {
          pageNum: 1,
          pageSize: 10
        },
		  list1: []

	  };
    },

    onReachBottom() {
      this.pageInfo.pageNum += 1
      this.getWithdrawalDetail()
    },
    onLoad() {
      this.getWithdrawalDetail()
    },
    methods: {
      getWithdrawalDetail() {
        getWithdrawalDetail(this.pageInfo).then(res => {
          console.log('res', res)
          this.list1 = this.list1.concat(res.rows)
        })
      }
    },
  };
</script>
<style>
    page{
           background-color: #f5f5f5;
    }
</style>
<style scoped lang="css">
  .divider {
    background-color: #e5e5e5;
    height: 0.031rem;
  }
  .group_7 {
    padding: 0.69rem 0 0.5rem;
  }
  .group_10 {
    padding: 0.88rem 0 0.5rem;
  }
  .text_1 {
    text-transform: uppercase;
  }
  .image_3 {
    width: 0.53rem;
    height: 0.28rem;
  }
  .group_4 {
    padding: 0.88rem 0 2.06rem;
    width: 7.97rem;
    position: relative;
  }
  .group_8 {
    height: 3.09rem;
  }
  .image_5 {
    margin-right: 0.84rem;
    width: 0.16rem;
    height: 0.16rem;
  }
  .group_5 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    position: absolute;
  }
  .text_9 {
    color: #333333;
    font-size: 0.88rem;
    font-family: SourceHanSansCN;
    line-height: 1.5rem;
  }
  .text_11 {
    color: #999999;
    font-size: 0.75rem;
    font-family: SourceHanSansCN;
    line-height: 1.5rem;
  }
  .text_13 {
    color: #333333;
    font-size: 1.06rem;
    font-family: SourceHanSansCN;
    font-weight: 700;
    line-height: 0.81rem;
  }
  .text_15 {
    color: #333333;
    font-size: 1.13rem;
    font-family: SourceHanSansCN;
    font-weight: 700;
    line-height: 0.84rem;
  }
  .text_17 {
    color: #333333;
    font-size: 0.88rem;
    font-family: SourceHanSansCN;
    line-height: 1.5rem;
  }
  .text_19 {
    color: #999999;
    font-size: 0.75rem;
    font-family: SourceHanSansCN;
    line-height: 1.5rem;
  }
  .text_21 {
    color: #333333;
    font-size: 1.06rem;
    font-family: SourceHanSansCN;
    font-weight: 700;
    line-height: 0.81rem;
  }
  .text_23 {
    color: #333333;
    font-size: 1.13rem;
    font-family: SourceHanSansCN;
    font-weight: 700;
    line-height: 0.84rem;
  }
  .text_3 {
    color: #333333;
    font-size: 0.88rem;
    font-family: SourceHanSansCN;
    line-height: 1.5rem;
  }
  .text_5 {
    color: #999999;
    font-size: 0.75rem;
    font-family: SourceHanSansCN;
    line-height: 1.5rem;
  }
  .group_9 {
    margin-top: 0.91rem;
  }
  .group_11 {
    margin-top: 0.84rem;
  }
  .page {
    background-color: #f5f5f5;
    border-bottom: solid 0.28rem #ffffff;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
  }
  .group_1 {
    padding: 0.94rem 0 17.59rem;
    flex: 1 1 auto;
    overflow-y: auto;
    position: relative;
  }
  .section_1 {
    margin: 0 0.94rem;
    padding: 0.91rem 0.094rem 0 0.88rem;
    background-color: #ffffff;
    border-radius: 0.47rem;
  }
  .section_2 {
    padding: 0.94rem 0.094rem 0 0.88rem;
    background-color: #ffffff;
    border-radius: 0.47rem 0.47rem 0 0;
    position: absolute;
    left: 0.94rem;
    right: 0.94rem;
    top: 21.06rem;
  }
  .group_2 {
    padding: 0 0.094rem;
  }
  .group_3 {
    margin-top: 0.78rem;
  }
  .view_2 {
    margin: 0.47rem 0.81rem 0 0.13rem;
  }
  .view_6 {
    margin-left: 0.13rem;
    margin-right: 0.81rem;
  }
  .view_10 {
    margin-left: 0.13rem;
    margin-right: 0.81rem;
  }
  .group_12 {
    padding: 0.63rem 0;
  }
  .group_14 {
    padding: 0 0.13rem;
  }
  .group_15 {
    margin-top: 0.81rem;
  }
  .view_14 {
    margin: 0.47rem 0.81rem 0 0.13rem;
  }
  .view_18 {
    margin-left: 0.13rem;
    margin-right: 0.81rem;
  }
  .view_22 {
    margin-left: 0.13rem;
    margin-right: 0.81rem;
  }
  .group_17 {
    padding-left: 0.063rem;
    padding-top: 0.63rem;
    height: 2.5rem;
  }
  .text_2 {
    color: #999999;
    font-size: 0.75rem;
    font-family: SourceHanSansCN;
    line-height: 0.72rem;
  }
  .image_4 {
    margin: 0.22rem 0 0.22rem 0.25rem;
  }
  .group_6 {
    margin-top: 0.91rem;
  }
  .group_13 {
    align-self: center;
  }
  .text_29 {
    color: #999999;
    font-size: 0.75rem;
    font-family: SourceHanSansCN;
    line-height: 0.66rem;
  }
  .image_7 {
    margin: 0.19rem 0;
  }
  .group_16 {
    margin-top: 0.91rem;
  }
  .text_42 {
    align-self: flex-start;
    color: #333333;
    font-size: 0.88rem;
    font-family: SourceHanSansCN;
    line-height: 1.5rem;
  }
  .group_18 {
    margin-top: -0.5rem;
    position: relative;
  }
  .text_7 {
    color: #333333;
    font-size: 1.06rem;
    font-family: SourceHanSansCN;
    font-weight: 700;
    line-height: 0.81rem;
  }
  .text_8 {
    color: #333333;
    font-size: 1.13rem;
    font-family: SourceHanSansCN;
    font-weight: 700;
    line-height: 0.84rem;
  }
  .text_25 {
    color: #333333;
    font-size: 0.88rem;
    font-family: SourceHanSansCN;
    line-height: 1.5rem;
  }
  .text_26 {
    color: #999999;
    font-size: 0.75rem;
    font-family: SourceHanSansCN;
    line-height: 1.5rem;
  }
  .text_27 {
    color: #333333;
    font-size: 1.06rem;
    font-family: SourceHanSansCN;
    font-weight: 700;
    line-height: 0.81rem;
  }
  .text_28 {
    color: #333333;
    font-size: 1.13rem;
    font-family: SourceHanSansCN;
    font-weight: 700;
    line-height: 0.84rem;
  }
  .text_32 {
    color: #333333;
    font-size: 1.06rem;
    font-family: SourceHanSansCN;
    font-weight: 700;
    line-height: 0.81rem;
  }
  .text_33 {
    color: #333333;
    font-size: 1.13rem;
    font-family: SourceHanSansCN;
    font-weight: 700;
    line-height: 0.84rem;
  }
  .text_43 {
    color: #333333;
    font-size: 1.06rem;
    font-family: SourceHanSansCN;
    font-weight: 700;
    line-height: 0.81rem;
  }
  .text_44 {
    color: #333333;
    font-size: 1.13rem;
    font-family: SourceHanSansCN;
    font-weight: 700;
    line-height: 0.84rem;
  }
</style>
